package com.htwx.service;

import com.htwx.entity.SubmissionReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubmissionReportService {

    //查询已完成没有评论的
    public List<SubmissionReport>  findNotEvaluateById(@Param("wxId") String  wxId);

    //查询全部
    public List<SubmissionReport> findSubmissionReportAll(Integer status);


    //查询
    public List<SubmissionReport> findSubmissionReportByWxId(String wxId);

    //插入
    public String insertSubmissionReport(SubmissionReport submissionReport);


    //修改
    public String updateSubmissionReport(SubmissionReport submissionReport);

    //删除
    public Integer deleteSubmissionReport(Integer report_id);

    //插入评价
    public Integer updateEvaluate(SubmissionReport submissionReport);
    //获得未评价的总数
    public  Integer  findEvaluateCountById(@Param("wxId") String  wxId);
}
